Skip to content

Add allow_self_return flag to createMatchingCache and optimize lookups#88

Merged
danielplohmann merged 7 commits into
danielplohmann:mainfrom
r0ny123:feature-matching-cache-self-return-6849792798438722787
May 22, 2026
Merged

Add allow_self_return flag to createMatchingCache and optimize lookups#88
danielplohmann merged 7 commits into
danielplohmann:mainfrom
r0ny123:feature-matching-cache-self-return-6849792798438722787

Conversation

@r0ny123
Copy link
Copy Markdown
Contributor

@r0ny123 r0ny123 commented Apr 6, 2026

No description provided.

r0ny123 and others added 7 commits March 2, 2026 18:21
- Updated StorageInterface.createMatchingCache signature to include allow_self_return.
- Modified MemoryStorage to return self when allow_self_return=True.
- Implemented addFunctionEntriesToCache in MemoryStorage for MatchingCache compatibility.
- Updated MemoryStorage.getMinHashByFunctionId to handle query functions.
- Updated MongoDbStorage.createMatchingCache signature for consistency.

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
…ility

- Updated StorageInterface, MemoryStorage, and MongoDbStorage.
- Implemented addFunctionEntriesToCache in MemoryStorage.
- Handled query functions in MemoryStorage.getMinHashByFunctionId.
- Addressed PR feedback regarding MatchingCache compatibility.

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@danielplohmann danielplohmann merged commit 8ac22d1 into danielplohmann:main May 22, 2026
1 check passed
@r0ny123 r0ny123 deleted the feature-matching-cache-self-return-6849792798438722787 branch May 22, 2026 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants